<?php
defined('IN_LUOCMS') or exit('No permission resources.');

class index
{

	public function init(){
		$this->db = base::load_model('goods_model');
		$data = $this->db->select();
		p($data);
	}


	public function add(){
		$data = $_FILES['pic'];
		p($data);
	}

	public function uploadImage(){
		base::load_sys_class('upload', '', 0);
		$upload = new upload();
	}
}